package com.yupi.springbootinit.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yupi.springbootinit.model.entity.Chart;

import java.util.List;
import java.util.Map;

/**
 * 自动定义动态sql mapper
 */
public interface ChartMapper extends BaseMapper<Chart> {
    List<Map<String,Object>> queryChartData(String querySql);

    void createChart(String createSql);

    void insertChart(String insertSql);

    Chart queryUserIdByChartId(String chartId);
}




